vtd: Fix check for interrupt remapping of ioapic RTE
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 26 Sep 2008 10:12:29 +0000 (11:12 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 26 Sep 2008 10:12:29 +0000 (11:12 +0100)
commit77fd4d4b3201ab84ee504a0486396cef58594a70
tree3c721b3dbeee8f53fbdc3b6b549a71a3bb61c4a9
parentb7c984f217992330896a3017794067d3e3284cd7
vtd: Fix check for interrupt remapping of ioapic RTE

For IOAPIC interrupt remapping, it only needs to remap ioapci RTE,
should not remap other IOAPIC registers, which are IOAPIC ID, VERSION
and Arbitration ID. This patch adds the check for this and only remap
ioapci RTE.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
Signed-off-by: Weidong Han <weidong.han@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/include/asm-x86/io_apic.h